<template>
  <div class="common-layout">
    <el-container class="bg">
      <el-header>
        <Searchs />
      </el-header>
      <el-main>
        <!-- :data="dataList" :columns="columns" 属性值-->
        <pure-table row-key="id" border />
      </el-main>
      <el-footer style="text-align: center; color: #999"
        >@donotdog wangwangwang</el-footer
      >
    </el-container>
  </div>
</template>
<script lang="ts">
import { defineComponent, ref } from "vue";

import Searchs from "../Search/Search.vue";
//

//获取路由
import { useRouter } from "vue-router";
export default defineComponent({
  name: "father",
  components: { Searchs },
  setup() {
    const RefChilde = ref();
    // const fncallchild = () => {
    //   RefChilde.value.title;
    // };
    return { RefChilde };
  }
});
</script>

<style>
.bg {
  background-color: #fff;
  padding: 30px;
  height: 600px;
}
.bg input {
  height: 40px;
}
</style>
